﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Messenger.DataAccess
{
    /// <summary>
    /// Db Exception Type
    /// Created by: Dinh Quoc Vuong
    /// Sep 30 2011
    /// </summary>
    public enum DBExceptionType
    {
        /// <summary>
        /// Can not connect to server
        /// </summary>
        ConnectionProblem, 
        /// <summary>
        /// Insert duplicate data
        /// </summary>
        DuplicateData, 
        /// <summary>
        /// Where clause missing - please check you class has decoration attribute primary key or not
        /// </summary>
        WhereClauseMissing, 
        /// <summary>
        /// Dont know what happen - Please check message number and good search :)
        /// </summary>
        UnknowProblem
    }
}
